package cn.codeforfun.initialization.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author wangbin
 */
@Configuration
@ConfigurationProperties(prefix = "db")
@Getter
@Setter
public class DbConfigurationProperties {
    private String username;
    private String password;
    private String host;
    private String port;
    private String name;
    private String type;
}
